package com.elsa.smart_buffet.service;

import com.elsa.smart_buffet.pojo.Menu;
import com.elsa.smart_buffet.pojo.ResultBox.ResponseResult;
import org.springframework.data.repository.query.Param;

public interface MenuService {

    ResponseResult selectAllMenu();

    ResponseResult getTopLook();

    ResponseResult selectMenuCount();

    ResponseResult selectMenuCategoryCount();

    ResponseResult selectOneByIdMenu(int id);

    ResponseResult updateMenu(Menu menu);

    ResponseResult deleteByIdMenu(int id);

    ResponseResult insertMenu(Menu menu);

    ResponseResult selectMenuByCategory(String category);

    ResponseResult selectMenuBySearchData(String data);

    ResponseResult selectClassifyTable(String date);

}
